Table of Contents

Creating a GitHub account

Navigate in the browser to https://github.com, and click “Sign Up” in the top-right corner.

GitHub Sign In or Sign Up Page

GitHub will then lead you through a series of (outerspace-themed!) setup prompts one-at-a-time, beginning with your email, password, and username, as shown here for example:

GitHub Email and Username Prompt

After you have filled the required information, GitHub will send the email you provided a one-time code for verification, which you can enter on the next screen.

GitHub Launch Code Prompt

Next, GitHub will prompt you to fill out certain Optional personalization settings. You can skip this if you prefer (yellow arrow below), or you can follow the prompts accordingly.

GitHub Personalization Page

Finally, you’ll zoom through outerspace and arrive at your new GitHub home account page:

GitHub Home Page

Enabling Two-Factor Authentication (2FA) on GitHub

Please do NOT skip this step! It is a necessary security setting.

From the top-right corner Account dropdown icon (looks like weirdly arranged squares), click on “Settings.”

GitHub Settings Dropdown

From the left-hand menu, select “Password and Authentication.” Note, you can also take this moment to fill in your GitHub Public Profile, including your public-facing name, picture, email, bio, any anything else you like.

GitHub Settings Left Pane

Click the large green button to “Enable two-factor authentication”:

GitHub Enable 2FA Dropdown

You will then see several options for what type of 2FA you can set up. For the best security, we strongly recommend that you click “Set up using an app.” This action requires that you install a separate app on your smart phone, such as the options 1Password, Authy, LastPass Authenticator, or Microsoft Authenticator. An additional option you can use that is not directly listed is Google Authenticator. Click “Continue” after you have selected your option.

GitHub 2FA Setup Page 1

2FA with an Authenticator App

Take a moment to either download a preferred 2FA app on your smartphone, or open a 2FA app if you already have one on your smartphone.

After clicking “Continue,”, you will see a QR code to scan into your smartphone app (or click “enter this text code” if you prefer not to use the QR code with camera).

GitHub 2FA Setup for Authenticator App

Once your QR code is scanned into the app, the app will provide you with a 6-digit code to enter back into github.com.

Github.com will now show you a list of recovery codes that you can use in case you lose access to your phone or authenticator app. Save these codes in a secure location, and do NOT share them, just like passwords! (This is why the screenshot below blacks out the recovery codes - they should not be shared!) You can export these code by clicking the “Download” button.

GitHub 2FA Recovery Codes

Once you have saved your recovery codes to a secure location, click “I have saved my recovery codes.”

Celebrate your new 2FA setup!

Celebrate your Github 2FA

2FA with SMS

Enter your cell phone number and click “Send authentication code.”

Shortly after, you will receive a text message with a 6-digit code which you should enter into the field “Enter the code sent to your phone.”

Github.com will now show you a list of recovery codes that you can use in case you lose access to your phone or authenticator app. Save these codes in a secure location, and do NOT share them, just like passwords! (This is why the screenshot below blacks out the recovery codes - they should not be shared!) You can export these code by clicking the “Download” button.

GitHub 2FA Recovery Codes

Once you have saved your recovery codes to a secure location, click “I have saved my recovery codes.”

Celebrate your new 2FA setup!

Celebrate your Github 2FA